﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.DocModel
{
    public class DocListParam
    {
        /// <summary>
        ///  角色代码
        /// </summary>
        public string roleCode { get; set; }
        /// <summary>
        ///  产品类别
        ///  VRPPT=1
        ///  金课=2
        ///  头记=3
        ///  校史馆=4
        /// </summary>
        public int proType { get; set; }
        /// <summary>
        ///  资源类别
        ///  素材=VRManager；
        ///  作品=VRWorks
        ///  组件=VRModule
        ///  度度圈=DDCircle
        ///  楼宇=VRBuilding
        ///  忆度元宇宙素材=QDMaterial
        /// </summary>
        public string docType { get; set; }
        /// <summary>
        ///  素材格式
        /// </summary>
        public string mater_type { get; set; }
        /// <summary>
        ///  节点ID
        /// </summary>
        public int folder_id { get; set; } = 0;
        /// <summary>
        ///  状态
        ///  （-1：全部，0：私有 ，1 ：待审核，3：免费共享，4：下架，5：已上架，6：审核未通过，7：收到的分享 ）
        /// </summary>
        public int docStatus { get; set; } = -1;
        /// <summary>
        ///  path
        /// </summary>
        public string folder_path { get; set; }
        /// <summary>
        ///  文件名称
        /// </summary>
        public string fileName { get; set; }
        /// <summary>
        ///  用户内部ID
        /// </summary>
        //[Required(ErrorMessage = "用户内部userid必传！")]
        public string userid { get; set; }
        /// <summary>
        ///  用户id
        /// </summary>
        public int create_id { get; set; }
        /// <summary>
        ///  第几页
        /// </summary>
        public int page { get; set; } = 1;
        /// <summary>
        ///  每页几条记录
        /// </summary>
        public int rows { get; set; } = 10;
    }
}
